package pattern.command;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

// 暂停命令类
@AllArgsConstructor
@NoArgsConstructor
public class PauseAction implements IAction {
    private Player player;
    @Override
    public void execute() {
        player.pause();
    }
}
